package com.pig4cloud.pig.admin.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

@Data
@Schema(description = "输液核心业务表")
@EqualsAndHashCode(callSuper = true)
public class InfusionCore extends Model<InfusionCore> {
	private static final long serialVersionUID = 1L;

	@TableId(value = "core_id", type = IdType.ASSIGN_ID)
	@Schema(description = "输液核心id")
	private Long coreId;
	@Schema(description = "座位号ID")
	private String seatId;
	@Schema(description = "输液日期")
	private String infusionDate;
	@Schema(description = "姓名")
	private String name;
	@Schema(description = "身份证号码")
	private String certNo;
	@Schema(description = "输液A量")
	private String syal;
	@Schema(description = "输液B量")
	private String sybl;
	@Schema(description = "输液C量")
	private String sycl;
	@Schema(description = "输液D量")
	private String sydl;
	@Schema(description = "输液E量")
	private String syel;
	@Schema(description = "输液F量")
	private String syfl;
	@Schema(description = "特殊输液A量")
	private String tssyal;
	@Schema(description = "特殊输液A滴速")
	private String tssyads;
	@Schema(description = "特殊输液B量")
	private String tssybl;
	@Schema(description = "特殊输液B滴速")
	private String tssybds;
	@Schema(description = "总输液量")
	private String totalInfusion;
	@Schema(description = "皮条系数")
	private String ptxs;
	@Schema(description = "滴速")
	private String ds;
	@Schema(description = "预计开始时间")
	private String yjkssj;
	@Schema(description = "实际开始时间")
	private String sjkssj;
	@Schema(description = "输液预计时长")
	private String syyjsc;
	@Schema(description = "预计结束时间")
	private String yjjssj;
	@Schema(description = "实际结束时间")
	private String sjjssj;

	@TableField(fill = FieldFill.INSERT)
	@Schema(description = "创建人")
	private String createBy;

	@TableField(fill = FieldFill.UPDATE)
	@Schema(description = "修改人")
	private String updateBy;

	@Schema(description = "创建时间")
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;

	@Schema(description = "修改时间")
	@TableField(fill = FieldFill.UPDATE)
	private LocalDateTime updateTime;

	@TableLogic
	@Schema(description = "删除标记,1:已删除,0:正常")
	@TableField(fill = FieldFill.INSERT)
	private String delFlag;

}
